home *** CD-ROM | disk | FTP | other *** search
- Subject: ODF R1 examples missing includes
- Sent: 6/18/96 7:36 PM
- Received: 6/24/96 8:26 AM
- From: Harald Boettcher, 100740.477@compuserve.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- I noticed that the examples (with the execption of ODFNothing) don't compile,
- if precompiled headers are turned off, because a number of declarations and
- include files are missing. This is not so critical in itself, but it also means
- that projects created by PartMaker won't compile without changes.
-
- So far I have only changed the "ODFHello" example, so that it compiles ok
- without precompiled headers.
- These are the changes:
-
- to "content.cpp" I had to add the following lines:
-
- // OS Includes
- #ifndef FWCFMRES_H
- #include "FWCFMres.h"
- #endif
-
- #ifndef FWRESACC_H
- #include "FWResAcc.h"
- #endif
-
- #ifndef FWRESTYP_H
- #include "FWResTyp.h"
- #endif
-
- #ifndef FWSUSINK_H
- #include "FWSUSink.h"
- #endif
-
- #ifndef FWBARRAY_H
- #include "FWBArray.h"
- #endif
-
- // Found Includes
- #ifndef FWBUFSIN_H
- #include "FWBufSin.h"
- #endif
-
- // Open Doc Includes
- #ifndef SOM_Module_OpenDoc_StdProps_defined
- #include <StdProps.xh>
- #endif
-
- #ifndef SOM_ODStorageUnit_xh
- #include <StorageU.xh>
- #endif
-
-
- To "content.h" I added:
-
- #ifndef FWSTRING_H
- #include "FWString.h"
- #endif
-
-
- Harald Boettcher
- Hamburg
-